import tensorflow as tf

hello=tf.constant('hasaki')
print(hello)
print(hello.numpy())

# tf.Tensor(b'hasaki', shape=(), dtype=string)
# b'hasaki'